package com.daydayup.learn;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ClassForTest {

    @GetMapping("/ex/handler")
    public String testExceptionHandler() throws Exception {
        throw new Exception("跑出了异常");
    }
}
